package initConfig

import sysAuth.*
import xdTool.XdDataSource
import xdTool.XdWidget

/**
 * Created by Administrator on 2018-05-04.
 */
class InitAdmin {

    /**
     * 初始化系统数据
     * @return
     */
    def InitSysConifg(){
        SysDepartments.init()
        SysOrganization.init()
        SysOperations.init()
        SysParams.init()
        SysUsers.init()
        SysFunctions.init()
        SysRoles.init()
        SysViewCfg.init()
        XdDataSource.init()
        SysNotice.init(dataSource)

        ///////////以上基础数据
        SysUserRoles.init()
        SysRoleRela.init()
        SysFunOpt.init()
        SysRoleRelaOperat.init()
        XdWidget.init()
    }

}
